:root {
    --bg-dark: #1a1614;
    --card-dark: #1a1614;
    --border-color: #2a2420;
    --accent-orange: #c86d44;
    --text-main: #f5f2eb;
    --text-muted: #a39c94;
    --bg-light-section: #fbf9f5;
    --text-dark: #222222;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
}

.logo-box {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    background: var(--accent-orange);
    color: white;
    font-weight: bold;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.logo-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
}

.logo-text small {
    font-size: 0.65rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.navbar nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.navbar nav ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.navbar nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.navbar nav ul li a:hover::after, .navbar nav ul li a.active::after {
    width: 100%;
}

.navbar nav ul li a:hover, .navbar nav ul li a.active {
    color: var(--text-main);
}


/* Configuración básica para toda la pantalla */
html, body {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Contenedor principal con la imagen de fondo */
.contenedor-fondo {
    background-image: url('imagenes/img6.jpeg'); /* Reemplaza con el nombre de tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-color: #333;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* El rectángulo blanco translúcido con el texto adentro */
.caja-blanca {
    background-color: rgba(18, 14, 14, 0.87);
    border-radius: 15px;
    width: 60%;
    padding: 40px; /* Esto le da espacio interno para que la caja crezca automáticamente con el texto */
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Estilos de las letras dentro de la caja */
.caja-blanca h1 {
    font-size: 3em;
    margin: 0 0 15px 0;
    color: #df7b45;
}

.caja-blanca p {
    font-size: 1.2em;
    margin: 0;
    color: #fcfcfd;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .caja-blanca {
        width: 85%;
        padding: 20px;
    }
    .caja-blanca h1 { font-size: 2em; }
    .caja-blanca p { font-size: 1em; }
}




:root {
    --bg-cream: #1a1614;
    --dark-green: #c86d44;
    --accent-green: #b23406;
    --peach-bg: #FDE8D7;
    --orange-accent:#f3f1f0;
    --text-main: #f2f4f4;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-cream);
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    overflow-x: hidden;
    padding: 20px;
}

/* CLASES DE ANIMACIÓN CON JS */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* HERO SECTION */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #1a1614 0%, #2a2420 100%);
    border-radius: 35px;
    padding: 60px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 550px;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--dark-green);
    margin-bottom: 15px;
    font-weight: 800;
}

.hero-content .subtitle {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 2rem;
    color: var(--orange-accent);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.05rem;
    margin-bottom: 30px;
    color: #a15722;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-primary {
    background-color: var(--dark-green);
    color: var(--white);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, background 0.2s;
}

.btn-primary:hover {
    transform: scale(1.05);
    background-color: #c56a20;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--dark-green);
    color: var(--dark-green);
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background-color: rgba(7, 53, 52, 0.05);
}

.hero-image-container {
    position: relative;
}

.hero-img {
    width: 380px;
    height: 460px;
    object-fit: cover;
    border-radius: 200px 200px 20px 20px;
}

.badge-available {
    position: absolute;
    top: 10px;
    right: -20px;
    background: var(--white);
    color: var(--dark-green);
    padding: 20px;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 800;
    text-align: center;
    width: 95px;
    height: 95px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    letter-spacing: 1px;
}

.floating-quote-box {
    position: absolute;
    bottom: 20px;
    left: -120px;
    background: var(--dark-green);
    color: var(--white);
    padding: 20px;
    border-radius: 20px;
    max-width: 220px;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    line-height: 1.3;
}

/* SELECTED WORKS SECTION */
.works-section {
    background-color: var(--dark-green);
    padding: 50px;
    border-radius: 35px;
    color: var(--white);
    margin-bottom: 30px;
}

.works-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.works-header h2 {
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-pills {
    display: flex;
    gap: 10px;
    background: rgba(255,255,255,0.1);
    padding: 6px;
    border-radius: 50px;
}

.pill {
    padding: 8px 18px;
    border-radius: 30px;
    text-decoration: none;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background 0.3s;
}

.pill.active, .pill:hover {
    background-color: var(--white);
    color: var(--dark-green);
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.work-card {
    background: var(--white);
    color: var(--text-main);
    padding: 20px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease;
}

.work-card:hover {
    transform: translateY(-8px);
}

.work-img-box {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 240px;
    margin-bottom: 15px;
}

.work-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-info h3 {
    font-size: 1.25rem;
    margin-bottom: 5px;
}

.work-info p {
    font-size: 0.85rem;
    color: #555;
}

.arrow-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-green);
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* ABOUT / WHAT I DO & STATS */
.middle-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    margin-bottom: 30px;
}

.avatar-box {
    background: linear-gradient(135deg, #010f0e 0%, #4b2f11 100%);
    border-radius: 35px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.avatar-3d {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid rgba(255,255,255,0.2);
}

.services-box {
    background: var(--white);
    padding: 40px;
    border-radius: 35px;
}

.services-box h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.services-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.service-icon {
    background: var(--bg-cream);
    padding: 12px;
    border-radius: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.service-item p {
    font-size: 0.78rem;
    color: #666;
    line-height: 1.4;
}

/* TESTIMONIALS & STATS BAR */
.stats-testimonial-section {
    background: var(--peach-bg);
    border-radius: 35px;
    padding: 45px 50px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.testimonial-content p {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 20px;
}

.client-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-profile img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
}

.client-profile h5 {
    font-size: 0.9rem;
    font-weight: 700;
}

.client-profile span {
    font-size: 0.75rem;
    color: #555;
}

.stats-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    text-align: center;
    border-left: 2px solid rgba(248, 240, 240, 0.1);
    padding-left: 30px;
}

.stat-col h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-green);
}

.stat-col p {
    font-size: 0.75rem;
    font-weight: 700;
    color: #555;
    margin-top: 5px;
}

/* FOOTER / CTA */
.footer-cta {
    background: var(--dark-green);
    color: var(--white);
    padding: 50px;
    border-radius: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left h2 {
    font-size: 3rem;
    line-height: 1.1;
    margin-bottom: 10px;
}

.footer-left h2 span {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #E8A87C;
}

.footer-right {
    display: flex;
    gap: 50px;
}

.footer-col h4 {
    font-size: 0.9rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.contact-links p {
    font-size: 0.85rem;
    margin-bottom: 8px;
    color: #f8f6f6;
}

.social-icons-row {
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    transition: background 0.2s;
}

.social-icon:hover {
    background-color: rgba(255,255,255,0.15);
}

/* Footer */
footer {
    background-color: var(--card-dark);
    border-top: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 60px 8% 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-col p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 15px;
    line-height: 1.5;
}

.footer-col h4 {
    font-size: 0.95rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-col ul li a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--text-muted);
}
